package com.quiz.bis.domain.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.quiz.common.core.domain.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 题目-分类关联表
 *
 * @author ahuan
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("question_tag_relation")
public class QuestionTagRelation extends BaseModel {

    /**
     * 关联表主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 题目ID
     */
    private Long questionId;
    /**
     * 标签ID
     */
    private Long tagId;
}
